/**
 * 
 */
package truerefactor.graph;

/**
 * @author Isaac
 */
public class ModifierParams {

    /**
     * flag to determine whether the associated object is abstract
     */
    private boolean isAbstract;
    /**
     * flag to determine whether the associated object is staic
     */
    private boolean isStatic;
    /**
     * accessibility component
     */
    private Accessibility access;

    /**
     * Creates a new ModifierParams instance encapsulating the provided
     * parameters
     * 
     * @param isAbstract
     *            flag setting for the abstract component
     * @param isStatic
     *            flag setting for the static component
     * @param access
     *            Accessibility component
     */
    public ModifierParams(boolean isAbstract, boolean isStatic, Accessibility access)
    {
        this.isAbstract = isAbstract;
        this.isStatic = isStatic;
        this.access = access;
    }

    /**
     * @return the abstract flag component
     */
    public boolean isAbstract()
    {
        return isAbstract;
    }

    /**
     * @return the static flag component
     */
    public boolean isStatic()
    {
        return isStatic;
    }

    /**
     * @return the accesibility component
     */
    public Accessibility getAccessibility()
    {
        return access;
    }
}
